#include "linecurve.h"

namespace CurveEditor {

LineCurve::LineCurve():
    AbstractCurve(CURVE_LINE)
{

}

LineCurve::~LineCurve()
{

}

RandomCurve LineCurve::toRandomCurve()
{
    RandomCurve randCurve;
    // TODO: change curve to random type

    return randCurve;
}

void LineCurve::validate()
{

}

bool LineCurve::isValid()
{
    bool valid = true;
    // TODO: checking if curve's parameter is ok

    return valid;
}

} // CurveEditor
